
<h2><?php echo lang('blog_tagged_label').': '.str_replace('-', ' ', $tag); ?></h2>
<?php if (!empty($blog)): ?>
<?php foreach ($blog as $post): ?>
	<article id="main-body" class="row-fluid post-article-container {{theme:options:imgBox}}-{{theme:options:imgBoxType}}">
	<div class="span12">
    	<header>
        	<?php echo  anchor('blog/' .date('Y/m', $post->created_on) .'/'. 
		$post->slug, $post->title); ?>
        
        <?php if($post->keywords): ?>
			
				<?php echo lang('blog_tagged_label');?>:
				<?php echo $post->keywords; ?>
			
			<?php endif; ?>
        
        </header>
        
        
        <p><?php echo $post->intro; ?></p>
        
        
        	<footer>
		<?php echo lang('blog_posted_label');?>: <?php echo format_date($post->created_on); ?>
        	
            <?php if($post->category_slug): ?>
			
				<?php echo lang('blog_category_label');?>: 
				<?php echo anchor('blog/category/'.$post->category_slug, $post->category_title);?>
			
			<?php endif; ?>
            </footer>
    </div>
</article>
<?php endforeach; ?>

<?php echo $pagination['links']; ?>

<?php else: ?>
	<p><?php echo lang('blog_currently_no_posts');?></p>
<?php endif; ?>